@ECHO off
@REM 版本号
set version=1.0.8-dev

@REM 编译jar包
call mvn clean -f "pom.xml"
@REM 编译jar包
call mvn install -f "pom.xml"
@REM 镜像打包
docker build -f DockerfileTest -t registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-plus:%version% .
@REM 镜像推送
docker push registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-plus:%version%
@REM 镜像删除
docker rmi -f registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-plus:%version%
